package com.atguigu.test.dacahngmainshitidierji.reference;

/**
 * 2 * @Author: madonghui
 * 3 * @Date: 2020/11/23 17:12
 * 4
 */
public class StrongReferenceDemo {
    public static void main(String[] args) {
        ///强引用不管怎么样都不会被回收
        Object o = new Object();
        Object o1 = o;
        System.gc();
        System.out.println("o1 = " + o1);
    }
}
